<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Liaowz
  Date: 2015/11/21
  Time: 18:41
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title></title>
</head>
<body>
<div class="main">
  <form action="modify" method="post">

    <div class="input-group">
      <span class="input-group-addon" id="basic-addon1">文章标题</span>
      <input type="text" class="form-control" name="title" placeholder="title" aria-describedby="basic-addon1" value="${article.title}">
    </div>

    <br/>

    <div class="input-group">
      <span class="input-group-addon" id="basic-addon2">文章内容</span>
      <input type="text" class="form-control" name="content" placeholder="content" aria-describedby="basic-addon1" value="${article.content}">
    </div>

    <br/>

    <div class="input-group">
      <span class="input-group-addon" id="basic-addon3">文章类别</span>
      <input type="text" class="form-control" name="articleType" placeholder="content" aria-describedby="basic-addon1" value="${article.articleType.name}">
    </div>

    <br/>
    <input type="hidden" name="id" value="${article.id}"/>
    <input class="btn btn-primary" type="submit" value="保存"/>

  </form>
</div>
</body>
</html>
